package com.vhall.component.entity.watchlimit;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author rui.zhou
 * @date 2021/4/23 15:49
 */

@Data
@TableName("apply")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "ApplyEntity对象", description = "报名表")
public class ApplyEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "房间id")
    @TableField("il_id")
    private Integer ilId;


    @ApiModelProperty(value = "表单id")
    @TableField("source_id")
    private Integer sourceId;


    @ApiModelProperty(value = "0:登录 1:上报 2:默认登录 3:白名单")
    @TableField("limit_type")
    private Integer limitType;

    @ApiModelProperty(value = "创建时间")
    @TableField("created_at")
    private LocalDateTime createdAt;


    @ApiModelProperty(value = "更新时间")
    @TableField("updated_at")
    private LocalDateTime updatedAt;

    @ApiModelProperty(value = "删除时间")
    @TableField("deleted_at")
    private LocalDateTime deletedAt;

    @TableField("room_id")
    private String roomId;


}
